<style>
.headinfo .mod-member {
    margin: 0 auto;
	margin-top:0;
    width: 94%;
	left:3%;
    padding: 6px 0 1.5rem;
    background-color: red;
    border-radius: 10px;
    border: 1px solid red;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    padding:0.1rem 0.2rem;
	top: 0.2rem;
    width: auto;
	font-size:0.6rem;
	right:16px;
    color:#fff;
	text-align:center;
	padding-top:3px;
	border-bottom-left-radius: 1rem;
    background: #f60;
}
.headinfo .bottombg {position: absolute;bottom:-20px;width:100%;height:22px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.mod-member .fui-icon-group .fui-icon-col-sm .text {
    color: #fff;
}
.shoptop img{width:1rem;height:1rem;border-radius:100%}
.shoptop .icon{font-size:0.8rem}
.dropdown-menu {
	position:absolute;
	top:100%;
	left:0;
	z-index:1000;
	display:none;
	float:left;
	min-width:auto;
	padding:5px 0;
	margin:2px 0 0;
	font-size:0.65rem;
	text-align:left;
	list-style:none;
	background-color:#fff;
	-webkit-background-clip:padding-box;
	background-clip:padding-box;
	border:1px solid #ccc;
	border:1px solid rgba(0,0,0,.15);
	border-radius:4px;
	-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);
	box-shadow:0 6px 12px rgba(0,0,0,.175)
}
</style>
				<div class="shoptop" style="padding:0.5rem">
						<img ng-src="{{tomedia(pagedata.plugin.image) || '../core/resource/images/nopic.jpg'}}"/>
						<span class="dropdown top_nav_item">
							<span class="title bold" href="javascript:;" onclick="$(this).next().toggle()">{{pagedata.plugin.title}} <i class="fa fa-angle-down"></i></span>
							<ul class="dropdown-menu">
								<li style="line-height:40px"><a href="javascript:;" ng-click="pagedata.scancode()" style="color:#808080;"><i class="icon icon-saoyisao2"></i> 扫一扫</a></li>
								<li style="line-height:40px"><a href="javascript:;" onclick="$('#showsharecover').modal();" style="color:#808080;"><i class="icon icon-fenxiang1"></i> 我要推广</a></li>
								<li style="line-height:40px"><a href="javascript:;" onclick="$('#followewm').modal();" style="color:#808080;"><i class="icon icon-qrcode"></i> 二维码</a></li>
							</ul>
						</span>
				</div>
				<div class="headinfo" style="background:#f7f7f7;padding-top:0.2rem">
				<div class="mod-member">
					<div class="sign-btn" href="javascript:;" ng-click="access_json('core/account.welcome/')">{{pagedata.group.title || '无套餐'}}-<span ng-if="pagedata.group.status==2">已过期，<span class="red" href="javascript:;" ng-click="access_json('core/account.siteinfo/detail/id='+pagedata.group.id)">去续费>></span></span><span ng-if="pagedata.group.status==1">到期时间{{pagedata.account.endtime}}</span></div>
						<div class="title bold" style="color:#fff;padding:0.5rem">今日业绩</div>	
						<div class="fui-icon-group noborder  col-4">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.ispay || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #f2f2f2;">支付订单数</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.ispayfee || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #f2f2f2;">支付金额</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.orderfee || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #f2f2f2;">客单价</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.looks || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #f2f2f2;">访客数</div>
													</div>
												</div>
						</div>
					</div>
					</div>
					<div ng-if="pagedata.is_order!=1" class="fui-cell-group fui-cell-click mod-group" style="margin-top: -0.8rem">
							<a class="fui-cell external">
								<div class="fui-cell-icon"><i class="icon icon-set"></i></div>
								<div class="fui-cell-text">日常操作</div>
								<div class="fui-cell-remark noremark" style="font-size: 0.65rem;"></div>
							</a>
							<div class="fui-icon-group col-4 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/wxapp.authlist//')">
									<div class="icon icon-green radius"><i class="icon icon-xiaochengxu"></i></div>
									<div class="text">申请小程序</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/wechat.list/')">
									<div class="icon icon-green radius"><i class="icon icon-weixin1"></i></div>
									<div class="text">公众号管理</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/wxapp.list/get/')">
									<div class="icon icon-green radius"><i class="icon icon-yonghujieru"></i></div>
									<div class="text">DIY小程序</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/website.mobile_web/list/')">
									<div class="icon icon-green radius"><i class="icon icon-lunbo"></i></div>
									<div class="text">DIY官网</div>
								</a>
							</div>
					</div>
					<div ng-if="pagedata.plugin.basic=='jy_weishop' || pagedata.plugin.name=='jy_weishop'" class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_weishop/order.list/')">
								<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
								<div class="fui-cell-text">我的订单</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看全部订单</div>
							</a>
							<div class="fui-icon-group col-5 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=0')">
									<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.status0}}</div>
									<div class="icon icon-green radius"><i class="icon icon-daifukuan1"></i></div>
									<div class="text">待付款</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=1')">
									<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.status1}}</div>
									<div class="icon icon-orange radius"><i class="icon icon-daifahuo"></i></div>
									<div class="text">待发货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=2')">
									<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.status2}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-daishouhuo1"></i></div>
									<div class="text">待收货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=3')">
									<div class="badge" ng-if="pagedata.statics.status3>0">{{pagedata.status3}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-survey1"></i></div>
									<div class="text">待评价</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=5')">
									<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.status4}}</div>
									<div class="icon icon-pink radius"><i class="icon icon-tuihuanhuo1"></i></div>
									<div class="text">退换货</div>
								</a>
							</div>
					</div>
<div ng-include="sys_html('common/_share')"></div>
<div id="followewm"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:12%">
				<div class="wap-qrcode-container">
					<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
					<p class="example1">{{pagedata.plugin.title}}</p>
					<div class="wap-qrcode-image">
						<img ng-src="{{tomedia(pagedata.qrcode) || '../core/resource/images/nopic.jpg'}}"/>
					</div>
					<p class="example1">长按扫描二维码</p>
			</div>
		</div>
</div>
<script language="javascript">
scope.pagedata.scancode=function () {
			console.log('scanQRCodeOK');
			wx.scanQRCode({
				needResult: 1, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
				scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
				success: function (res) {
					var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
					var start = result.indexOf(',');
					result = result.substr(start+1);
					location.href = result;
				}
			});
}
</script> 